{# One catalog model in the drawer: what it is and costs, and a button to make it the model the app answers with (a stored choice, live at once). #} {% from "components/macros/layout.html" import badge, card, dialog_title, facts as fact_list %} {% from "components/macros/form.html" import primary_button %}
{{ dialog_title(info.title or info.model_id) }} {% if current %}
{{ badge("The active model", "ok") }}
{% elif use_url %}
{{ primary_button("Use this model", "submit") }}
{% endif %} {% call card("Details", id="ai-model-facts") %}{{ fact_list(facts) }}{% endcall %}